package com.gg.mapper;

import java.util.List;

import com.gg.entity.Fruit;
import org.apache.ibatis.annotations.Param;

public interface FruitMapper {

	List<Fruit> selectFruitsBySerach(Fruit fruit);

	List<Fruit> selectAllFruits();

	boolean deleteFruitByFid(String fid);

	int addFruit(@Param("fruit") Fruit fruit);

	boolean updateFruit(@Param("fruit") Fruit fruit);
}